package com.eshop.modules.system.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.system.service.dto.DictDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.system.service.dto.DictQueryCriteria;
import com.eshop.modules.system.domain.Dict;
import com.eshop.common.service.BaseService;

public interface DictService extends BaseService<Dict>
{
    Map<String, Object> queryAll(final DictQueryCriteria criteria, final Pageable pageable);
    
    List<Dict> queryAll(final DictQueryCriteria criteria);
    
    void download(final List<DictDto> all, final HttpServletResponse response) throws IOException;
}
